package com.cloud.pole.user.model.entity.collection;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * @author 
 */
@Table(name="user_collection")
public class UserCollection implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -3638158644635863808L;

	/**
     * 收藏ID
     */
    @Id
    private Long collectionId;

    private Long userId;

    /**
       * 用户名
     */
    private String userName;

    /**
     * 收藏对象ID
     */
    private String objectId;

    /**
     * 对象名称
     */
    private String objectName;

    /**
     * 对象说明
     */
    private String objectNote;

    /**
     * 对象类型
     */
    private Integer objectTypeId;

    /**
     * 时间
     */
    private Date createTime;

    
    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getObjectNote() {
        return objectNote;
    }

    public void setObjectNote(String objectNote) {
        this.objectNote = objectNote;
    }

    public Integer getObjectTypeId() {
        return objectTypeId;
    }

    public void setObjectTypeId(Integer objectTypeId) {
        this.objectTypeId = objectTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}